package cn.iocoder.yudao.module.book.controller.admin.author.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 作者新增/修改 Request VO")
@Data
public class AuthorSaveReqVO {

    @Schema(description = "作者ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22800")
    private Long id;

    @Schema(description = "作者姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "作者姓名不能为空")
    private String name;

    @Schema(description = "作者简介")
    private String biography;

}